
#ifndef UI_POLYLINEOPTIONS_H
#define UI_POLYLINEOPTIONS_H

#include "ui_ui_polylineoptions.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_PolylineOptions : public QWidget, public Ui::UI_PolylineOptions
{
    Q_OBJECT

public:
    UI_PolylineOptions(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0);
    ~UI_PolylineOptions();

public slots:
    virtual void setAction( PF_ActionInterface * a, bool update );
    virtual void close();
    virtual void undo();
    virtual void updateRadius( const QString & s );
    virtual void updateAngle( const QString & s );
    virtual void updateDirection( bool );
    virtual void updateMode( int m );

protected:
    WF_DrawPolyline* action;

protected slots:
    virtual void languageChange();

private:
    void destroy();

};

#endif // QG_POLYLINEOPTIONS_H
